﻿<UserControl x:Class="RZD_maps.Modules.Map.Views.MapsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:data="clr-namespace:RZD_maps.Modules.Map.ViewModel"
             xmlns:gmapnetprovider="clr-namespace:GMap.NET.MapProviders;assembly=GMap.NET.Core"
             >
    <Grid>
        <GroupBox Name="mapgroup"  Header="Карта">
            <Grid>
                <data:Map x:Name="MainMap" Zoom="19" MaxZoom="24" MinZoom="1"
                  MapProvider="{x:Static data:VMMap.MapProvider}"
                  Position="{x:Static data:VMMap.Position}"    />
                <data:NavigationControls MapItem ="{Binding ElementName=MainMap}" />

                

                
            </Grid>
        </GroupBox>        
    </Grid>

</UserControl>
